from pydantic import BaseModel
from datetime import datetime


class Ai_consultation(BaseModel):
    AdminID: int
    LesseeID: int
    QueryContent: str
    ReplyContent: str
    CreationTime: datetime

    class Config:
        orm_mode = True
